<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 100px;
            height: 100px;
            background-color: red;
            overflow: hidden;
        }

        .box:hover img {
            transition: margin-left 70ms linear;
            margin-left: 0px;
        }

        img {
            width: 200%;
            margin-left: -100px;

        }

        .box2 {
            width: 10rem;
            height: 10rem;
            background-color: blue;
        }

        @keyframes syi {
            0% {
                margin-top: 4.5rem;
                opacity: 0;
            }

            100% {
                margin-top: 0rem;
                opacity: 1;
            }
        }

        @-webkit-keyframes syi {
            0% {
                margin-top: 4.5rem;
                opacity: 0;
            }

            100% {
                margin-top: 0rem;
                opacity: 1;
            }
        }

        .donghua {
            width: 100px;
            height: 100px;
            background-color: red;
            -webkit-animation: syi 600ms linear 0ms 1 normal;
            animation: syi 600ms linear 0ms 1 normal;
            margin-top: 2 !important;
        }

        @keyframes ro {
            0% {
                transform: rotateZ(-45deg)
            }

            25% {
                transform: rotateZ(0)
            }

            50% {
                transform: rotateZ(45deg)
            }

            75% {
                transform: rotateZ(0deg)
            }

            100% {
                transform: rotateZ(-45deg)
            }
        }

        .box3 {
            animation: ro 10s linear 0ms infinite normal;
            width: 100px;
            height: 100px;
            background-color: aqua;
        }
    </style>
</head>

<body>





    <div class="box">
        <img src="./img/logo1.png" alt="">
    </div>
    <div class="box2">

    </div>
    <div class="donghua"></div>
    <div class="box3">1</div>
    <script>

    </script>
</body>

</html>